package com.hj.service;

import com.github.pagehelper.PageInfo;
import com.hj.form.StuRoleForm;
import com.hj.pojo.Student;

import java.util.List;

public interface IStudentService {

    public PageInfo<Student> list(Integer page, Integer size);

    public void add(Student student);

    void delete(String id);

    void update(Student student);

    Student findOne(String id);

	public void addRoles(StuRoleForm stuRole);

	public Student login(String uname, String passwd);
}
